99乘法表

#C#

Posted by Phyxsius on 2023-09-14

namespace ConsoleApp1
{
    internal class Program
    {
        static void Main(string[] args)
        {
            //i是被乘數,j是乘數
            for (int i = 1; i <= 9; i++)
            {
                for (int j = 1; j <=9; j++)
                {
                    // \t是tab,排版用
                    Console.Write(i + " * " + j + " = " + i * j + "\t");
                }
                Console.WriteLine();
            }
        }
    }
}

#C#







Related Posts

Vue3-新增產品(查/增/修/刪)功能實作

Vue3-新增產品(查/增/修/刪)功能實作

用 Nest.js 開發 API 吧 (二) - 專案架構

用 Nest.js 開發 API 吧 (二) - 專案架構

[ JavaScript 01 ] 基礎觀念

[ JavaScript 01 ] 基礎觀念


Comments